<script setup>
import {onMounted, ref} from "vue";
import Son from "@/components/Son.vue";

const h1 = ref(null);
const son = ref(null);

onMounted(() => {
  console.log(h1.value)
  console.log(son.value)
  console.log(son.value.count)
})
</script>

<template>
  <h1 ref="h1">Hello World</h1>
  <Son ref="son"/>
</template>

<style scoped>
.f {
  border: 1px aqua solid;
  padding: 30px;
}
</style>
